package com.im.common.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel
public class SyncReq extends RequestBase {

    @NotNull(message = "lastSequence不能为空")
    @ApiModelProperty("客户端最大seq")
    private Long lastSequence;

    @NotNull(message = "maxLimit不能为空")
    @ApiModelProperty("一次拉取多少")
    private Integer maxLimit;

}
